package com.shine.app.bean;

import com.google.gson.annotations.SerializedName;
import com.shine.app.commons.StringUtils;

public class UserBean extends BaseBean {

	private static final long serialVersionUID = 1L;
	@SerializedName("UserId")
	protected String userId;
	@SerializedName("Email")
	protected String email;
	@SerializedName("GolferId")
	protected String golferId;
	@SerializedName("HasPassword")
	protected boolean hasPassword;
	@SerializedName("ExternalAccount")
	protected ExternalAccountBean externalAccount[];
	@SerializedName("FirstName")
	protected String firstName;
	@SerializedName("LastName")
	protected String lastName;
	@SerializedName("PhoneNumber")
	protected String phoneNumber;
	@SerializedName("Gender")
	protected String gender;
	@SerializedName("DateOfBirth")
	protected String dateOfBirth;
	@SerializedName("AllowGeneralCommunicationFromOpenTee")
	protected int allowGeneralCommunicationFromOpenTee;
	@SerializedName("AllowOffersFromOpenTee")
	protected int allowOffersFromOpenTee;
	@SerializedName("Created")
	protected String created;
	@SerializedName("MobileNumber")
	protected String mobileNumber;
	@SerializedName("Address")
	protected String address;
	@SerializedName("Address2")
	protected String address2;
	@SerializedName("City")
	protected String city;
	@SerializedName("ZipCode")
	protected String zipCode;
	@SerializedName("StateCode")
	protected String stateCode;
	@SerializedName("Country2IsoCode")
	protected String country2IsoCode;

	public boolean isHasPassword() {
		return hasPassword;
	}

	public void setHasPassword(boolean hasPassword) {
		this.hasPassword = hasPassword;
	}

	public String getUserId() {
		if (StringUtils.isEmpty(userId)) {
			userId = "";
		}
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFirstName() {
		if (StringUtils.isEmpty(firstName)) {
			firstName = "";
		}
		return firstName;
	}

	public ExternalAccountBean[] getExternalAccount() {
		return externalAccount;
	}

	public void setExternalAccount(ExternalAccountBean[] externalAccount) {
		this.externalAccount = externalAccount;
	}

	public String getPhoneNumber() {
		if (StringUtils.isEmpty(phoneNumber)) {
			phoneNumber = "";
		}
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getCreated() {
		if (StringUtils.isEmpty(created)) {
			created = "";
		}
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public String getMobileNumber() {
		if (StringUtils.isEmpty(mobileNumber)) {
			mobileNumber = "";
		}
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public String getAddress() {
		if (StringUtils.isEmpty(address)) {
			address = "";
		}
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress2() {
		if (StringUtils.isEmpty(address2)) {
			address2 = "";
		}
		return address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getCity() {
		if (StringUtils.isEmpty(city)) {
			city = "";
		}
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getZipCode() {
		if (StringUtils.isEmpty(zipCode)) {
			zipCode = "";
		}
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getStateCode() {
		if (StringUtils.isEmpty(stateCode)) {
			stateCode = "";
		}
		return stateCode;
	}

	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}

	public String getGender() {
		if (StringUtils.isEmpty(gender)) {
			gender = "";
		}
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getDateOfBirth() {
		if (StringUtils.isEmpty(dateOfBirth)) {
			dateOfBirth = "";
		}
		return dateOfBirth;
	}

	public void setDateOfBirth(String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public int getAllowGeneralCommunicationFromOpenTee() {
		return allowGeneralCommunicationFromOpenTee;
	}

	public void setAllowGeneralCommunicationFromOpenTee(
			int allowGeneralCommunicationFromOpenTee) {
		this.allowGeneralCommunicationFromOpenTee = allowGeneralCommunicationFromOpenTee;
	}

	public int getAllowOffersFromOpenTee() {
		return allowOffersFromOpenTee;
	}

	public void setAllowOffersFromOpenTee(int allowOffersFromOpenTee) {
		this.allowOffersFromOpenTee = allowOffersFromOpenTee;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		if (StringUtils.isEmpty(lastName)) {
			lastName = "";
		}
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getCountry2IsoCode() {
		if (StringUtils.isEmpty(country2IsoCode)) {
			country2IsoCode = "";
		}
		return country2IsoCode;
	}

	public void setCountry2IsoCode(String country2IsoCode) {
		this.country2IsoCode = country2IsoCode;
	}

	public String getEmail() {
		if (StringUtils.isEmpty(email)) {
			email = "";
		}
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getGolferId() {
		if (StringUtils.isEmpty(golferId)) {
			golferId = "";
		}
		return golferId;
	}

	public void setGolferId(String golferId) {
		this.golferId = golferId;
	}

}
